package com.zw.april14thh.controller;

import com.zw.april14thh.service.BusinessService;
import com.zw.april14thh.vo.AjaxResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/rank")
public class RankController {

    @Resource
    BusinessService businessService;

    /**
     * 返回所有大屏内容    包含 办理的排队号和相应窗口  排队用户
     * @return
     */
    @GetMapping("/all")
    public AjaxResult getAll(){

        return businessService.getAllQue();

    }



}
